package com.pattern.visitor;

/**
 * @author 冯志立
 * @create 2019-11-27 10:24
 */
public class Success extends Action {
    @Override
    public void getManResult(Man man) {
        System.out.println("男人给的评价是成功");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println("女人给的评价是成功");
    }
}
